package com.itheima.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class GoodsPurchaseQueryParam {
    private Integer page = 1; //页码
    private Integer pageSize = 10; //每页显示记录数
    private String purchaseName; // 进货商品名称
    private Integer num; //采购数量
    private BigDecimal unitPrice; //采购单价
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime stockingTime; //进货时间
    private Integer vendorId; //供应商ID
}












